From: Keir Fraser Date: Wed, 24 Jun 2009 10:16:08 +0000 (+0100) Subject: x86 mca: Fix typo of MCA recovery flags X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~13697 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=2b3b556d040b9482bded0ebc540fb64f6e18ed91;p=xen.git x86 mca: Fix typo of MCA recovery flags The following patch fixes typo of MCA recovery flags. It should be '<<' instead of '<'. Signed-off-by: Kazuhiro Suzuki --- diff --git a/xen/arch/x86/cpu/mcheck/x86_mca.h b/xen/arch/x86/cpu/mcheck/x86_mca.h index cc3e1c1b44..85c624efe3 100644 --- a/xen/arch/x86/cpu/mcheck/x86_mca.h +++ b/xen/arch/x86/cpu/mcheck/x86_mca.h @@ -105,13 +105,13 @@ DECLARE_PER_CPU(cpu_banks_t, mce_banks_owned); */ /* MCA error has been recovered successfully by the recovery action*/ -#define MCA_RECOVERED (0x1 < 0) +#define MCA_RECOVERED (0x1 << 0) /* MCA error impact the specified DOMAIN in owner field below */ -#define MCA_OWNER (0x1 < 1) +#define MCA_OWNER (0x1 << 1) /* MCA error can't be recovered and need reset */ -#define MCA_NEED_RESET (0x1 < 2) +#define MCA_NEED_RESET (0x1 << 2) /* MCA error did not have any action yet */ -#define MCA_NO_ACTION (0x1 < 3) +#define MCA_NO_ACTION (0x1 << 3) struct mca_handle_result {